<?php
/**
 * This makes our life easier when dealing with paths. Everything is relative
 * to the application root now.
 */
chdir(dirname(__DIR__));

// Setup autoloading
require 'init_autoloader.php';

if ("WINNT" == PHP_OS) {
    $DIRECTORY_SEPARATOR = "/";
} else {
    $DIRECTORY_SEPARATOR = DIRECTORY_SEPARATOR;
}
// define a barra de separação de diretórios
defined( 'DS' ) || define( 'DS', $DIRECTORY_SEPARATOR );

// Run the application!
Zend\Mvc\Application::init(require 'config/application.config.php')->run();
